package com.design.template;

import com.design.util.XMLUtil;

/**
 * @author leali
 * @title: Client
 * @projectName design
 * @description: client
 * @date 2021/12/31 23:18
 */
public class Client {
    public static void main(String[] args) {
        Account account;
        account = (Account) XMLUtil.getValueByTagName("templateName", 0, true);
        assert account != null;
        account.Handle("张无忌", "123456");

        System.out.println("钩子方法测试");
        new XMLDataViewer().Process();
    }
}
